package site.jlopen.service.intf.project;

import java.util.List;

import site.jlopen.entity.BaseResponse;
import site.jlopen.entity.job.JobRunStatusVo;
import site.jlopen.entity.job.TaskLogVo;
import site.jlopen.entity.job.TaskResultDataVo;

public interface JobTaskService {

	BaseResponse<String> getJobStatus(Long projectId, Long flowId);

	BaseResponse<String> initJob(Long projectId, Long flowId);

	BaseResponse<String> startJob(Long projectId, Long flowId, String graphNodeId, Integer jobType);

	BaseResponse<String> stopJob(Long projectId, Long flowId);

	BaseResponse<List<JobRunStatusVo>> getTaskStatus(Long projectId, Long flowId);

	BaseResponse<List<String>> getTaskLog(Long projectId, Long flowId, String nodeId);

	List<TaskLogVo> getTaskLogs(Long projectId, Long flowId);

	//List<TaskResultDataVo> getResultDatas(Long projectId, Long flowId);
	
}
